#include "StdAfx.h"
#include "TestWceUiRealWnd.h"
#include "WceUiLayerCtrl.h"
#include "WceUiDlg.h"

CTestWceUiRealWnd::CTestWceUiRealWnd(void)
{
}

CTestWceUiRealWnd::~CTestWceUiRealWnd(void)
{
}


void CTestWceUiRealWnd::OnInitDialog()
{
	CWceUiDlg* pDlg = GetLayerCtrl()->CreateDlg(L"CTestWceUiDlg");
	ASSERT(NULL != pDlg);
	pDlg->DoModal();
	GetLayerCtrl()->DeleteLayer(pDlg);
	pDlg = NULL;

	EndDialog(0);

}